package org.acghub.mtdb.demo.table;

import org.acghub.mtdb.common.exception.MtdbException;

/**
* xmlgen自动生成，不要修改此文件！！！
*/
public final class Keyvalue {
	public static boolean exists(String k) throws MtdbException {
		return _Tables_.INSTANCE.keyvalue.exists(k);
	}

	public static String select(String k) throws MtdbException {
		return _Tables_.INSTANCE.keyvalue.select(k);
	}

	public static String get(String k) throws MtdbException {
		return _Tables_.INSTANCE.keyvalue.get(k);
	}

	public static boolean insert(String k, String v) throws MtdbException {
		return _Tables_.INSTANCE.keyvalue.insert(k, v);
	}

	public static void delete(String k) throws MtdbException {
		_Tables_.INSTANCE.keyvalue.delete(k);
	}

	public static void truncate() throws MtdbException {
		_Tables_.INSTANCE.keyvalue.truncate();
	}

	public static long count() throws MtdbException {
		return _Tables_.INSTANCE.keyvalue.count();
	}

	public static String newString() {
		return new String();
	}

}
